package pro.cherish.knowledgeumldesignpattern.designPattern.com.cherish.singleton;
//dubbo check 不建议使用
public class T03_2 {
    private static T03_2 instance=null;
    private T03_2(){
    }
    public static  T03_2 getInstance() {
        if (instance == null) {
            synchronized (T03_2.class) {
                if (instance == null) {
                    instance= new T03_2();
                }
            }
        }
        return instance;
    }
}
